<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - 小说转有声书APP</title>
    <link rel="stylesheet" href="css/style.css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
    <!-- 顶部导航栏 -->
    <header class="navbar">
        <div class="flex items-center gap-2">
            <span class="icon">menu</span>
            <h1>小说听书</h1>
        </div>
        <div class="flex items-center gap-2">
            <span class="icon">search</span>
            <span class="icon">notifications</span>
        </div>
    </header>
    
    <div class="container" style="margin-bottom: 60px;">
        <!-- 搜索栏 -->
        <div class="card">
            <div class="flex items-center gap-2">
                <span class="icon">search</span>
                <input type="text" class="input" placeholder="搜索小说、有声书...">
            </div>
        </div>
        
        <!-- 继续听书区域 -->
        <div class="mt-4">
            <div class="flex justify-between items-center mb-4">
                <h2>继续听书</h2>
                <a href="#" class="nav-link">查看全部</a>
            </div>
            
            <div class="card">
                <div class="flex gap-4">
                    <img src="https://via.placeholder.com/100x150?text=封面" alt="书籍封面" class="rounded">
                    <div class="flex-col justify-between">
                        <div>
                            <h3>三体</h3>
                            <p class="text-secondary">刘慈欣 | 科幻小说</p>
                            <div class="badge my-2">已听42%</div>
                        </div>
                        <div class="player-progress">
                            <div class="player-progress-bar" style="width: 42%;"></div>
                        </div>
                        <div class="flex gap-4 mt-4">
                            <button class="btn btn-primary">
                                <span class="icon">play_arrow</span>
                                继续听
                            </button>
                            <button class="btn btn-secondary">
                                <span class="icon">bookmark</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 推荐内容 -->
        <div class="mt-4">
            <div class="flex justify-between items-center mb-4">
                <h2>推荐内容</h2>
                <a href="#" class="nav-link">更多</a>
            </div>
            
            <div class="grid">
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面1" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">活着</h3>
                        <p class="book-author">余华</p>
                    </div>
                </div>
                
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面2" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">平凡的世界</h3>
                        <p class="book-author">路遥</p>
                    </div>
                </div>
                
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面3" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">红楼梦</h3>
                        <p class="book-author">曹雪芹</p>
                    </div>
                </div>
                
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面4" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">围城</h3>
                        <p class="book-author">钱钟书</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 最近添加 -->
        <div class="mt-4">
            <div class="flex justify-between items-center mb-4">
                <h2>最近添加</h2>
                <a href="#" class="nav-link">查看全部</a>
            </div>
            
            <div class="grid">
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面5" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">白夜行</h3>
                        <p class="book-author">东野圭吾</p>
                    </div>
                </div>
                
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面6" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">百年孤独</h3>
                        <p class="book-author">加西亚·马尔克斯</p>
                    </div>
                </div>
                
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面7" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">人类简史</h3>
                        <p class="book-author">尤瓦尔·赫拉利</p>
                    </div>
                </div>
                
                <div class="book-card">
                    <img src="https://via.placeholder.com/200x300?text=封面8" alt="书籍封面" class="book-cover">
                    <div class="book-info">
                        <h3 class="book-title">解忧杂货店</h3>
                        <p class="book-author">东野圭吾</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <nav class="bottom-nav">
        <a href="home.html" class="bottom-nav-item active">
            <span class="material-icons bottom-nav-icon">home</span>
            <span>首页</span>
        </a>
        <a href="library.html" class="bottom-nav-item">
            <span class="material-icons bottom-nav-icon">library_books</span>
            <span>书库</span>
        </a>
        <a href="import.html" class="bottom-nav-item">
            <span class="material-icons bottom-nav-icon">add_circle</span>
            <span>导入</span>
        </a>
        <a href="player.html" class="bottom-nav-item">
            <span class="material-icons bottom-nav-icon">headphones</span>
            <span>播放</span>
        </a>
        <a href="settings.html" class="bottom-nav-item">
            <span class="material-icons bottom-nav-icon">settings</span>
            <span>设置</span>
        </a>
    </nav>
</body>
</html> 